package YNU.dao;

import YNU.po.Student;

import java.util.List;

public interface StudentDao {

    public List<Student> listStudent(String name, String password);
    public int saveStudent(String name);
    public int removeStudent(int sid);
    public int updateStudent(Student student);
    public Student getStudentByIdByPass(Integer sid,String password);
    public Student getStudentById(Integer sid);

   public int updateStudentByPassword(Integer sid,String password);
}
